package com.ax.base.drugadministration.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class BaseDrugManager {
    /**
     * 药监人员ID
     */
    private Long drugManagerId;

    /**
     * 药监人员姓名
     */
    private String drugManagerName;

    /**
     * 药监部门ID
     */
    private Long drugDepId;

    /**
     * 药监部门名称
     */
    private String drugDepName;

    /**
     * 岗位
     */
    private String post;

    /**
     * 药监人员编号
     */
    private String empno;

    /**
     * 身份证号
     */
    private String personId;

    /**
     * 性别
     */
    private String sex;

    /**
     * 生日
     */
    private String birth;

    /**
     * 入职时间
     */
    private String entryTime;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 地址
     */
    private String address;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date updateDate;

    /**
     * 状态(1：有效；0：注销)
     */
    private Integer flag;

    public BaseDrugManager(Long drugManagerId, String drugManagerName, Long drugDepId, String drugDepName, String post, String empno, String personId, String sex, String birth, String entryTime, String phone, String address, String remarks, Date createDate, Date updateDate, Integer flag) {
        this.drugManagerId = drugManagerId;
        this.drugManagerName = drugManagerName;
        this.drugDepId = drugDepId;
        this.drugDepName = drugDepName;
        this.post = post;
        this.empno = empno;
        this.personId = personId;
        this.sex = sex;
        this.birth = birth;
        this.entryTime = entryTime;
        this.phone = phone;
        this.address = address;
        this.remarks = remarks;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.flag = flag;
    }

    public BaseDrugManager() {
        super();
    }

    public Long getDrugManagerId() {
        return drugManagerId;
    }

    public void setDrugManagerId(Long drugManagerId) {
        this.drugManagerId = drugManagerId;
    }

    public String getDrugManagerName() {
        return drugManagerName;
    }

    public void setDrugManagerName(String drugManagerName) {
        this.drugManagerName = drugManagerName == null ? null : drugManagerName.trim();
    }

    public Long getDrugDepId() {
        return drugDepId;
    }

    public void setDrugDepId(Long drugDepId) {
        this.drugDepId = drugDepId;
    }

    public String getDrugDepName() {
        return drugDepName;
    }

    public void setDrugDepName(String drugDepName) {
        this.drugDepName = drugDepName == null ? null : drugDepName.trim();
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post == null ? null : post.trim();
    }

    public String getEmpno() {
        return empno;
    }

    public void setEmpno(String empno) {
        this.empno = empno == null ? null : empno.trim();
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId == null ? null : personId.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getBirth() {
		return birth;
	}

	public void setBirth(String birth) {
		this.birth = birth;
	}

	public String getEntryTime() {
		return entryTime;
	}

	public void setEntryTime(String entryTime) {
		this.entryTime = entryTime;
	}

	public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}